package com.ev.scm.service;

import com.ev.scm.domain.CostAdjustmentDO;
import com.ev.scm.vo.CostAdjustmentPageParam;
import com.ev.framework.utils.R;
import com.ev.scm.vo.CostAdjustmentSaveParam;

import java.util.List;
import java.util.Map;


/**
 * 文件名称： com.ev.scm.service.CostAdjustmentService.java</br>
 * 初始作者： ev-monitor</br>
 * 创建日期： 2020-07-13 12:52:59</br>
 * 功能说明：  <br/>
 * =================================================<br/>
 * 修改记录：<br/>
 * 修改作者        日期       修改内容<br/>
 * ================================================<br/>
 * Copyright (c) 2020-2021 .All rights reserved.<br/>
 */
public interface CostAdjustmentService {

    CostAdjustmentDO get(Long id);

    List<CostAdjustmentDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(CostAdjustmentDO costAdjustment);

    int update(CostAdjustmentDO costAdjustment);

    int updateAll(CostAdjustmentDO costAdjustment);

    int remove(Long id);

    int batchRemove(Long[] ids);

    R saveAndVerify(CostAdjustmentSaveParam saveParam);

    Map<String, Object> getById(Long id);

    Map<String, Object> pageList(CostAdjustmentPageParam pageParam);

    R reverseAudit(Long id);

    R audit(Long id);

    R batchDelete(List<Long> ids);
}
